<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<% String path=request.getContextPath(); String basePath=request.getScheme()+ "://" + request.getServerName() + ":" + request.getServerPort() + path+ "/"; %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<html  xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<base href="<%=basePath%>">
<title>产品配置</title>
	<%@ include file="/WEB-INF/jsp/common/common.jsp" %>
	<script src="<%=path%>/js/jquery.divbox.js" type="text/javascript"></script>
	<script type="text/javascript">
	var startP = 1;
	var covContent = "";
	var mainContent = "";
	
	$(document).ready(function() {
		var isBack = "${isBack}";
		if(isBack=="true"){
			var tradProdCode= "${prodCode}";
			var tradProdDesc= "";
			var status= "";
			var startDate= "";
			var endDate= "";
			loadNewLifeProductData({current:1,size:10,prodCode:tradProdCode,prodName:tradProdDesc,status:status,startDate:startDate,endDate:endDate});	
		}
		else{loadNewLifeProductData();}
	});
	function bindradio(){
		$("input[type='radio']").click(function(){
			$("input[name='radioProduct']").parent().parent().removeClass("table_highlighter");
			$(this).parent().parent().addClass("table_highlighter");

       	});
	}
	function queryNewLifeProduct(displayPage){
		var tradProdCode= $("#tradProdCode").val();
		var tradProdDesc= $("#tradProdDesc").val();
		var status= $("#status").val();
		var startDate= $("#startDate").val();
		var endDate= $("#endDate").val();
		loadNewLifeProductData({current:displayPage,size:10,prodCode:tradProdCode,prodName:tradProdDesc,status:status,startDate:startDate,endDate:endDate});
	}
	var exportflag=false;
	function loadNewLifeProductData(param){
		   var jsonDate;
			if(null != param && null != param.current){
				var str = "";
				var strReg = "[0-9]{4}-[0-9]{2}-[0-9]{2}";
				var startDate = param.startDate;
				var endDate = param.endDate;
				if(null != startDate && "" != startDate){
					if(startDate.match(strReg)==null){
						$.message("error", "您输入的定义起期格式不正确，格式为:YYYY-MM-DD");
						return;
					}
				}
				if(null != endDate && "" != endDate){
					if(endDate.match(strReg)==null){
						$.message("error", "您输入的定义止期格式不正确，格式为:YYYY-MM-DD");
						return;
					}
				}
				jsonDate =param;
				
			}else{
				jsonDate={current:1,size:10};
			}
			$.openLoading();
			$.ajax({
					url : "nlifeProductConfig/queryList",
					type : 'POST',
					async : true,
					dataType:'json',
					data:jsonDate,//传递的是 jsonDate = param , 初始化是一个含分页信息的json对象,页面加载完成后通过填写页面的input,能够添加其他信息.
					success : function(page) {//成功传递json后执行
					$.closeLoading();
							if($.validate(page))return;//当页面加载返回 fail或 error,直接返回
							startP = page.current;
							//alert(startP);
							var firstbutton='';
							var flag=page.obj 
							if(flag){
								firstbutton ="<input class='input_fxk' name='radioProduct' type='radio' value='#'>@<input class='input_fxk' name='checkProduct' type='checkBox' value='#'>";
								/* 创建按钮窗体 radio + checkBox */
							}else{
								firstbutton ="<input class='input_fxk' name='radioProduct' type='radio' value='#'>";
							}
							var lastbutton = "<a href='javascript:void(0)' onClick='editTradProdInst(this);return false'>编辑</a>&nbsp<a href='javascript:void(0)' onClick='delTradProdInst(this);return false'>删除</a>";
								/* 创建操作窗体 */
							var tableContent = creatTable5("prodCode,prodName,startDate,instant?[{Y:'是'};{N:'否'}],status?[{0:'无效'};{1:'有效'}],poolType@TDH",page,firstbutton,lastbutton);
								/* 创建整体窗体 , 填充DIV */
							var tableObj = $("#gatewayproductTable");
							tableObj.find("tbody").remove();
							tableObj.append(tableContent);
							var strPage = creatChannelPage(startP,6,page.maxPage,"50");
							var pageDIV = $("#txproductpageDIV");
							pageDIV[0].innerHTML="";
							pageDIV.append(strPage);
							bindradio();
							//是否有导出产品功能判断
							exportflag=flag;
							if(flag){
								$("#implBtn").show();
							}else{
								//没有导出权限
								$("#implBtn").hide();
								if($('#gatewayproductTable tr th:eq(1)').html()=="导出"){
									$('#gatewayproductTable tr th:eq(1)').remove();
								}
							}
					}
				});
		}
	function delTradProdInst(obj){
		$.dialog({
			type: "warn",//success,error
			content: "您确定要删除该产品吗？",
			onOk: function() {
				var editTr = $(obj).parent('td').parent('tr')[0];
				var flag=1;
				if(exportflag){
					flag=2;
				}
				var tradProdCode = editTr.childNodes[flag].innerHTML;
				deleteTradProdInst(tradProdCode);
			}
		});
	}
	function deleteTradProdInst(tradProdCode){
		$.openLoading();
		$.ajax({
			url : "nlifeProductConfig/deleteNewLifeProdInfo?"+new Date().getTime(),
			type : 'POST',
			async : true,
			dataType:'json',
			data:{
				tradProdCode:tradProdCode
			},
			success : function(obj) {
				$.closeLoading();
				if($.validate(obj))return;
				queryNewLifeProduct(1);
			}
		});
	}
	function editTradProdInst(obj){
		var editTr = $(obj).parent('td').parent('tr')[0];
		var flag=1;
		if(exportflag){
			flag=2;
		}
		var tradProdCode = editTr.childNodes[flag].innerHTML;
		window.location.href='<%=basePath%>nlifeProductConfig/editNewLifeRequst?prodCode='+tradProdCode;
	}
	
	function vreset(){
		$("#tradProdCode").val("");
		$("#tradProdDesc").val("");
		$("#startDate").val("");
		$("#endDate").val("");
		$("#status").val("");
	}
	function add(){
		window.location.href='<%=basePath%>nlifeProductConfig/addReq';
	}

    // 复制新增跳转页面
    function copyAdd() {
        var selected = $("input[name='radioProduct']:checked");
        if (selected.length === 0) {
            $.message("error", "请选择一个产品！");
            return;
        }
        var index = 1;
        if (exportflag) {
            index = 2;
        }
        var tradProdCode = selected.parent().parent().children("td:eq(" + index + ")").html();
        window.location.href = '<%=basePath%>nlifeProductConfig/copyAddReq?prodCode=' + tradProdCode;
    }

    function insuranceAdd(){
		var radioProduct = $("input[name='radioProduct']:checked");
		if(radioProduct.val()!=undefined){
			var flag=1;
			if(exportflag){
				flag=2;
			}
			var tradProdCode = radioProduct.parent().parent().children(" td:eq("+flag+")").html();
			window.location.href='<%=basePath%>nlifeProductConfig/newLifeRiskAddReq?tradProdCode='+tradProdCode;
		}else{
			$.message("error", "请选择一个产品");
		}
	}
	function conInsureAdd(){
		var radioProduct = $("input[name='radioProduct']:checked");
		if(radioProduct.val()!=undefined){
			var flag=1;
			var pool=6;
			if(exportflag){
				flag=2;
				pool=7;
			}
			var tradProdCode = radioProduct.parent().parent().children(" td:eq("+flag+")").html();
			var poolTypeCode = radioProduct.parent().parent().children(" td:eq("+pool+")").html();
			if("00" == poolTypeCode){
				$.message("error", "该产品不支持共保配置");;
				return;
			}
			window.location.href='<%=basePath%>nlifeProductConfig/conInsure?prodCode='+tradProdCode;
		}else{
			$.message("error", "请选择一个产品");
		}
	}
	function exProduct(){
		var tradProdCode='';
		$("input[name='checkProduct']:checked").each(function(){
			if(''==tradProdCode){
				 tradProdCode = $(this).parent().parent().children("td:eq(2)").html()
			}else{
				 tradProdCode =tradProdCode+","+ $(this).parent().parent().children("td:eq(2)").html()
			}
		});
		if(tradProdCode==''){
			$.message("error", "请至少选择一个产品");
			return;
		}
		window.location.href='<%=basePath%>nlifeProductConfig/dowloadProd?productCode='+tradProdCode;
	}	

	function closeDetailDiv() {
		$("#productDetail").CloseDiv();
		
		mainContent = "";
		
		$("#mainContentDiv").html("");
	}
	
	/* 显示详情 */
	function showDetail(obj) {
		var editTr = $(obj).parent('tr')[0];
		var prodcode = editTr.childNodes[2].innerHTML; 
		var data={prodCode:prodcode};
		$.ajax({
			url:"nlifeProductConfig/queryProdInfoByCode",		
			type:'POST',
			async:true,
			dataType:String,
			data:data,
			success:function(page){
			},
		 	error:function(page){
		 		/* 因为返回的不是json对象   所以进error方法 */
		 		data = JSON.parse(page.responseText);
		 		$('#prod_no').html(data["prodCode"]);/* 产品代码 */
				$('#prod_name').html(data.prodName);/* 产品名称 */
				$('#max_delay_day').html(data.maxDelayDay+"天");/* 最长延时起保天数 */
				$('#min_delay_day').html(data.minDelayDay+"天");/* 最短延时起保天数 */
				/* 及时起保 */
				var instant = data.instant=="Y" ? "是" : "否"
				$('#instant').html(instant);/* 是否及时起保 */
				/* 转化日期为标准年月日 */
				var unit = data.pppUnit;
				if(unit == "d"){
					$('#start_date').html(data.minDays + "至" + data.maxDays + "日");/* 起始时间 */
				}else if(unit == "m"){
					$('#start_date').html(data.minDays + "至" + data.maxDays + "月");/* 起始时间 */			
					}
				else{
					$('#start_date').html(data.minDays + "至" + data.maxDays + "年");/* 起始时间 */	
				}
			
				$('#max_cancle_day').html(data.longestCancelDay+"天");/* 最长注销天数 */
				$('#max_Number').html(data.maxNumber + "份");/* 最多份数*/
				
				/* 搞出来条款信息 */
				param = {current:1,size:6,tradProdCode:prodcode}
				showRiskDetail(param);
			}
		})
		$('#productDetail').OpenDiv();
	}
	
	
	/* 显示条款信息的方法 */
	function showRiskDetail(param){
		$.ajax({
			url : "nlifeProductConfig/loadAddedRiskInfo",
			type : 'POST',
			async : true,
			dataType:'json',
			data:param,
			success : function(page) {
				//设置最后一个单元格内容
				var tableObj = $("#nlife_risk_cov_detail");
				var tableContent1 = creatTable8("PRODCODE@TDH,CORERISKCODE,RISKNAME,PRMRYFLAG?[{0:'主险'};{1:'附加险'};{2:'第一主险'}],RATIONID@TDH",page);
				/* 条款信息的标题行 */
				var titleRisk = "<div id='nlife_div_drive_xz_tableInfo' style='display: block; width: 100%;margin-top: 25px;'><table id='nlife_risk_cov_detail' class='table_02' align='center' style='width: 100%;margin-bottom: 0px'><thead><th width='45' nowrap='nowrap'>条款代码</th><th width='30' nowrap='nowrap'>条款名称</th><th width='15' nowrap='nowrap'>主附加险标识</th>"
				
				var endRisk = "</tbody></table>";			
				/* 责任信息的标题行 */
				tableObj.find("tbody").remove();
							/* 每行条款下面有很多责任 */
				var tbContents = tableContent1.split("</tr>");
				for (var i = 0; i < tbContents.length - 1; i++) {
					var riskContent = titleRisk + tbContents[i] + endRisk;
					var coreRiskCode = tbContents[i].split("</td>")[1].substring(4);
					var rationId = tbContents[i].split("</td>")[4].substring(26);
					/* var coreRiskCode = $('#nlife_risk_cov_detail').find('tr').eq(i).find('td').eq(1).text(); */
					var prodCode = param['tradProdCode'];
					var nParam = {prodCode:prodCode,coreRiskCode:coreRiskCode,rationId:rationId};
					/* loadCoverage(nParam); */
					loadCoverage(nParam);
					mainContent = "<div id = 'mainContentDiv'>" + mainContent + riskContent + covContent + "</div>";
					}
				$("#nlife_risk_cov_detail").after(mainContent);
			},
		});
	}
	
	/*
		显示责任信息的方法 
		param 格式 json =
		{prodCode:    ,coreRiskCode:   }
	*/
	function loadCoverage(param){
		$.openLoading();
		$.ajax({
			url : "nlifeProductConfig/queryNewLifeCoverage",
			type : 'POST',
			async : false,
			dataType:'json',
			data:param,
			success : function(page) {
				$.closeLoading();
				var calStr='';
				var firstbutton ="<input class='input_fxk' name='checkboxCov' type='checkbox' value='#' display='none' onclick='logicHandle(this)'>";
				var lastbutton = "<select name='nlifeisInputAmt'onchange='checkAmountisAllowInput(this)'class='select_1'style='visibility: hidden;width:60px;'><option value='Y'>固定值</option><option value='N'>接口传入</option></select><select style='visibility: visible;width:60px;'class='select_1' name='amtType' onchange='amtTypeChange(this)'><option value='2'selected='selected'>每人保额</option><option value='1'>共享保额</option></select><input type='hidden' value='{AMTTYPE}'/>&nbsp<input class='input_text'style='width:50px;visibility: visible'maxlength='10'name='nlifecovAmt'type='text'value='{COVAMT}'>@<input class='input_text'style='width:100px;visibility: visible;'onKeyUp='clearNoNum(event,this)'onBlur='checkNum(this)' name='nlifenoAmtRate' type='text'value='{AMTRATE}'>@<input class='input_text' name='nlifenoAmtLimit' style='width:80px;visibility: visible;'onKeyUp='clearNoNum(event,this)'onBlur='checkNum(this)'type='text'value='{AMTLIMIT}'>@<input class='input_text'style='width:90px;visibility: visible'maxlength='13'onKeyUp='clearNoNum(event,this)'onBlur='checkNum(this)'name='nlifenoCalimAmount'type='text'value='{NOCALIMAMOUNT}'>@<input class='input_text'style='width:90px;visibility: visible'maxlength='5'onKeyUp='clearNoNum(event,this)'onBlur='checkNum(this)'name='nlifeclaimRate'type='text'value='{CLAIMRATE}'>@<select name='nlifecalId'class='select_1'style='visibility: visible;width:100px;'><option value=''>---请选择---</option>"+calStr+"</select><a  style='color: blue;padding-left:5px; ' name='downConfig' onclick='calDocDowlaod()' href='javascript:void(this)'>算法文档</a>";
				var tableContent = creatTable7("coreCovCode,covName,covAmt,amtLimit,noCalimAmount,claimRate,calId",page,null,null);
				var titleCov = "<div id='nlife_div_driver_xz_tableInfo' style='display: block;width:100%'><table class='table_02' id='nlife_cov_detail' align='center' style='width: 100%;margin-top: 0px;'><thead><th nowrap='nowrap'>责任代码</th><th nowrap='nowrap'>责任名称</th><th nowrap='nowrap'>保额</th><th nowrap='nowrap'>保额上限</th><th nowrap='nowrap'>免赔额</th><th nowrap='nowrap'>赔付比率</th><th nowrap='nowrap'>责任保费算法</th></thead><tbody>" 
				var endCov = "</tbody></table></div>";
				covContent = titleCov + tableContent + endCov;

				$("#editCovDiv").OpenDiv();
			}
		});
	}
	
	function showDetailByRadio(){
		var tradProdCode='';
		var radioProduct = $("input[name='radioProduct']:checked");
		if(radioProduct.val()!=undefined){
			var flag=1;
			if(exportflag){
				flag=2;
			}
			var tradProdCode = radioProduct.parent().parent().children(" td:eq("+flag+")").html();
		var prodcode = tradProdCode;
		var data={prodCode:prodcode};
		$.ajax({
			url:"nlifeProductConfig/queryProdInfoByCode",		
			type:'POST',
			async:true,
			dataType:String,
			data:data,
			success:function(page){
			},
		 	error:function(page){
		 		/* 因为返回的不是json对象   所以进error方法 */
		 		data = JSON.parse(page.responseText);
		 		$('#prod_no').html(data["prodCode"]);/* 产品代码 */
				$('#prod_name').html(data.prodName);/* 产品名称 */
				$('#max_delay_day').html(data.maxDelayDay+"天");/* 最长延时起保天数 */
				$('#min_delay_day').html(data.minDelayDay+"天");/* 最短延时起保天数 */
				/* 及时起保 */
				var instant = data.instant=="Y" ? "是" : "否"
				$('#instant').html(instant);/* 是否及时起保 */
				/* 转化日期为标准年月日 */
				
				
				var unit = data.pppUnit;
				if(unit == "d"){
					$('#start_date').html(data.minDays + "至" + data.maxDays + "日");/* 起始时间 */
				}else if(unit == "m"){
					$('#start_date').html(data.minDays + "至" + data.maxDays + "月");/* 起始时间 */			
					}
				else{
					$('#start_date').html(data.minDays + "至" + data.maxDays + "年");/* 起始时间 */	
				}
			
				$('#max_cancle_day').html(data.longestCancelDay+"天");/* 最长注销天数 */
				$('#max_Number').html(data.maxNumber + "份");/* 最多份数*/
				
				/* 搞出来条款信息 */
				param = {current:1,size:6,tradProdCode:prodcode}
				showRiskDetail(param);
			}
		})
		$('#productDetail').OpenDiv();
	}
	}
	
	function exportCovDetail(obj){
		var prodNo = 	$('#prod_no').text();
		
		 var data = {prodCode:prodNo}; 
	
		 
		 
		window.location.href='<%=basePath%>nlifeProductConfig/covExcelDownload?prodCode='+prodNo;
		
	}
	
	function documentDownload(){
		window.location.href='<%=basePath%>nlifeProductConfig/documentDownload';
		}
	</script>
</head>
<body >
	<div class="current">
           <table class="current_table_1">
              <tbody>
                <tr class="f2">
                  <td>
                    <img src="./images/current_1.jpg">
                  </td>
                  <td class="current_table_1_td">
                    <img src="images/current_1.png">&nbsp;您现在的位置：&nbsp;
                      <span style=" color:#136bab; ">新意健险产品管理
                      <span style="padding:0 5px; font-weight:bold; line-height:28px;">&gt;</span>产品配置
                  </span>
                  </td>
                  <td><img src="./images/current_3.jpg"></td>
              </tr>
           </tbody>
         </table>
      </div>
		
		<table class="table_02" id="table">
			<tr>
				<td>
					<table class="search_table">
						<tr height="30px">
							<td width="20%" height="30">产品代码：
								<input name="txt3" id="tradProdCode" type="text" class="input_text" maxlength="30" value="">
							</td>
							<td width="20%" height="30">产品名称：
								<input name="txt3" id="tradProdDesc" type="text" class="input_text" maxlength="100" value="">
							</td>
							<td width="20%" height="30">状态：
							 	<select class="search_select_1" id="status">
									<option value="">--请选择--</option>
									<option value="1">有效</option>
									<option value="0">无效</option>
								</select>
							</td>
							<td width="20%" height="30">定义起期：
								<input id="startDate" onkeydown="false" onclick="showCalendar('startDate','y-mm-dd');" readonly="readonly" class="input_time" type="text" />
							</td>
							<td width="20%" height="30">定义止期：
								 <input id="endDate" onkeydown="false" onclick="showCalendar('endDate','y-mm-dd');" readonly="readonly" class="input_time" type="text" />
							</td>
						</tr>
						<tr height="30px">
							<td style="text-align: center;" colspan="5" width="100%" height="30">
								<input type="button" class="input_button_1" id="searchBtn" value="查询" onClick="queryNewLifeProduct(1)" />&nbsp;
							    <input type="button" class="input_button_1" id="searchBtn" value="重置" onClick="vreset()" />
							</td>
						</tr> 
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table class="search_table">
						<tr height="30px">
							<td width="100%" height="30">
								<input type="button" class="input_button_1" id="searchBtn" value="新增" onClick="add()" />&nbsp;
                                <input type="button" class="input_button_2" id="copyAddBtn" value="复制新增" onClick="copyAdd()">&nbsp;
								<input type="button" class="input_button_2" id="searchBtn" value="条款配置" onClick="insuranceAdd()"/>&nbsp;
								<input type="button" class="input_button_2" id="searchBtn" value="共保配置" onClick="conInsureAdd()"/>
								<input type="button" class="input_button_2" id="implBtn" value="产品导出" onClick="exProduct()" style="display: none;"/>
								<input type="button" class="input_button_2" id="detailBtn" value="详情" onClick="showDetailByRadio()">&nbsp;&nbsp;&nbsp;
								
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table id="gatewayproductTable" class="content_table_1">
						<thead>
							<tr class="f1">
								<th style="width:10%;">选择</th>
								<th style="width:5%;">导出</th>
								<th style="width:15%;">交易系统产品代码</th>
								<th style="width:30%;">交易系统产品名称</th>
								<th style="width:15%;">定义时间</th>
								<th style="width:10%;">即时投保</th>
								<th style="width:5%;">状态</th>
								<th style="width:10%;">操作</th>
							</tr>
						</thead>
						<tbody>
						</tbody>
					</table>
					<div id="txproductpageDIV" class="page"></div>
				</td>
			</tr>
		</table>
		
		<div id="Loading" style="display:none" align="center">
			<img src="./images/loading.gif" />
		</div>
		
		<div id="detail" style="display: none;">
			<div id="input" style="margin: 5px;h word-wrap: break-word"></div>
		</div>
		<div id="detail2" style="display: none;">
			<h4 style="background-color: #A4BDE3;"></h4>
			<table>
				<thead></thead>
				<tr>
					<td width="200px"></td>
					<td align="right"><img src="./images/closedown.gif"
						onclick="closeDiv()" /></td>
				</tr>
			</table>
			<input type="hidden" id="appId" value="">

			<div id="output" style="margin: 5px; word-wrap: break-word"></div>
		</div>
	</div>
	<!-- 详情页面开始 -->
	<div id="productDetail" 
		style="display:none ; width: 65%; height: 75%; padding-bottom: 10px; margin-top: -50px; overflow-y: auto;">
		<div class="table_title_div">
			<table class="table_title" style='width: 100%; height: 20px;'>
				<tr>
					<td width="10%"></td>
					<td width="80%" id="interfaceName"></td>
					<td width="10%" align="right"><img
						src="<%=path %>/images/closedown.gif" alt="关闭"
						onclick="closeDetailDiv()" /></td>
				</tr>
			</table>
		</div>
		<div>
			<ul style="padding-top: 8px;">
				<li style="float: left; width: 50%; margin-left: 2%"><h5 class="productInfo">产品信息</h5></li>
				<li style="float: left; width: 40%"><span id=""
					style="height: 30px; line-height: 30px; text-indent: 10px;"><a style="color: blue;  text-decoration:underline;" href="javascript:void(0)" onclick = "exportCovDetail(this)">算法导出 </a></span></li>
			</ul>
		</div>
		<table class="table_02" align="center" style="width: 95%;">
			<tr>
				<td style="text-align: right; border-right: 0px;" width="15%">产品代码：</td>
				<td style="text-align: left; padding-left: 6px; border-right: 0px;"
					width="35%"><span id="prod_no"></span></td>
				<td style="text-align: right; border-right: 0px;" width="15%">产品名称：</td>
				<td style="text-align: left; padding-left: 6px;" width="35%"><span
					id="prod_name"></span></td>
			</tr>
			<tr>
				<td style="text-align: right; border-right: 0px;" width="18%">最长延时起保天数：</td>
				<td style="text-align: left; padding-left: 6px; border-right: 0px;"
					width="35%"><span id="max_delay_day"></span></td>
				<td style="text-align: right; border-right: 0px;" width="18%">最短延时起保天数：</td>
				<td style="text-align: left; padding-left: 6px;" width="35%"><span
					id="min_delay_day"></span></td>
			</tr>
			<tr>
				<td style="text-align: right; border-right: 0px;" width="18%">最长起保后注销天数:</td>
				<td style="text-align: left; padding-left: 6px; border-right: 0px;"
					width="35%"><span id="max_cancle_day"></span></td>
				<td style="text-align: right; border-right: 0px;" width="15%">保险期间:</td>
				<td style="text-align: left; padding-left: 6px;" width="35%"><span
					id="start_date"></span></td>
			</tr>
			<tr>
				<td style="text-align: right; border-right: 0px;" width="15%">是否及时起保:</td>
				<td style="text-align: left; padding-left: 6px; border-right: 0px;"
					width="35%"><span id="instant"></span></td>
				<td style="text-align: right; border-right: 0px;" width="15%">最大份数:</td>
				<td style="text-align: left; padding-left: 6px;" width="35%"><span
					id="max_Number"></span></td>
			</tr>
	</table>
		<div>
			<ul style="padding-top: 3px;">
				<li style="float: left; width: 50%; margin-left: 2%"><h5 class="productInfo">条款信息</h5></li>
			</ul>
		</div>
		<div id="nlife_div_drive_xz_tableInfo"
			style="display: block; width: 100%;">
			
			<table id="nlife_risk_cov_detail" class="content_table_1" align="center"
				style="width: 100%;">
				<tbody>
				</tbody>
			</table>
			</div>
			<div id="nlife_div_driver_xz_tableInfo" style="display: block;width:95%">
				
		<table class="table_02" id="nlife_cov_detail" align="center" style="width: 95%;">
			<tbody>
			</tbody>
		</table>
		</div>
	</div>
	</div>
	<!-- 结束 -->
</body>
</html>